package com.ruoyi.system.domain;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * busi_person
 * @author 
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@ApiModel(description = "公司员工信息",value = "BusiPerson.class")
public class BusiPerson implements Serializable {
    /**
     * 员工工号
     */
    @ApiModelProperty(value = "员工工号", dataType = "String")
    @NotNull
    private String personId;

    /**
     * 员工姓名
     */
    @ApiModelProperty(value = "员工姓名", dataType = "String", required = true)
    private String personName;

    /**
     * 归属分组
     */
    @ApiModelProperty(value = "归属分组", dataType = "String", required = true)
    private String personGroup;

    /**
     * 手机号码
     */
    @ApiModelProperty(value = "手机号码", dataType = "String", required = true)
    private String personPhone;

    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱", dataType = "String", required = true)
    private String personEmail;

    /**
     * 员工状态：1，在职 2，离职 3，实习生
     */
    @ApiModelProperty(value = "员工状态", dataType = "Integer", required = true)
    private Integer personStatus;

    /**
     * 入职时间
     */
    @ApiModelProperty(value = "入职时间", dataType = "Date", required = true)
    private Date entryTime;

    /**
     * 转正时间
     */
    @ApiModelProperty(value = "转正时间", dataType = "Date", required = true)
    private Date regularTime;

    /**
     * 离职时间
     */
    @ApiModelProperty(value = "离职时间", dataType = "Date", required = true)
    private Date leaveTime;

    /**
     * 绩效系数
     */
    @ApiModelProperty(value = "绩效系数", dataType = "Double", required = true)
    private Double enterprises;

    private static final long serialVersionUID = 1L;
}